body {
    margin: 0;
    padding: 10px;
    background-color: #232323;
    color: #fff;
    font-family: Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    position: relative;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

/* 参考文案区域样式 */
.reference-section {
    margin-bottom: 20px;
    background-color: #333;
    padding: 10px;
    border-radius: 4px;
}

.reference-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #fff;
}

.reference-input {
    margin-top: 10px;
}

.file-upload {
    position: relative;
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload label {
    display: inline-block;
    padding: 8px 12px;
    background-color: #444;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.file-upload label:hover {
    background-color: #555;
}

.file-name {
    font-size: 12px;
    margin-top: 5px;
    word-break: break-all;
    color: #ccc;
}

/* 控件样式 */
.controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button {
    width: 100%;
    padding: 10px;
    background-color: #2d7ab9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.button:hover {
    background-color: #3689d3;
}

.button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.status {
    margin-top: 20px;
    padding: 10px;
    min-height: 40px;
    max-height: 150px;
    background-color: #333;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.debug-button {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 4px 8px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
}

.debug-button:hover {
    background-color: #555;
} 